package com.xck.infosys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xck.infosys.entity.User;
import com.xck.infosys.mapper.UserMapper;
import com.xck.infosys.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> findAll() {
        return userMapper.findAll();
    }
    //实现我们自己扩展的接口
}
